Machine olfaction